<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>淘宝换一换</title>
    <style>
        .container{
            width: 1190px;
            margin: 0 auto;
        }
        .top::after{
            display: table;
            content: "";
            clear: both;
        }
        .top h2{
            float: left;
            margin: 0;
        }
        h2 img{
            width: 80px;
            height: 22px;
        }
        .top #btn{
            float: right;
        }
        #list::after{
            display: table;
            content: "";
            clear: both;
        }
        #list div{
            float: left;
            margin-right: 20px;
            margin-top: 30px;
            width: 32%;
        }
        #list div:nth-last-child(1){
            margin-right: 0;
        }
        #list div::after{
            display: table;
            content: "";
            clear: both;
        }
        #list div img{
            float: left;
            margin-right:10px;
        }
        #list div h3{
            float: left;
            font-size: 14px;
            padding-left: 5px;
        }
        #list div p{
            height: 78px;
            color: #999999;
            font-size: 12px;
        }
        #list div span{
            color:#ff5000;
            font-size: 18px;
        }
        #list div s{
            color: #999999;
            font-size: 12px;
            margin-left: 10px;
        }
        #list div a{
            height: 42px;
            display: block;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="top">
        <h2><img src="images/tqg.png" alt=""></h2>
        <button id="btn">换一换</button>
    </div>
    <hr>
    <div id="list"></div>

</div>
    <script src="js/script.js"></script>
</body>
</html>